import math


matrix = [[10, -1, -1, 7.2], [-1, 10, -2, 8.3], [-1, -1, 5, 4.2]]


